﻿<%@ Control Language="C#" EnableViewState="true" %>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left; color: black">
                &nbsp; 项目启动申请-附件上传 </font>
        </td>
    </tr>
</table>
<br />
<table cellpadding="0" cellspacing="0" align="center" class="window_tab_list" style="width: 600px;
    margin: 0px 0 0px 0; line-height: 35px; text-align: center;">
    <tr>
        <th style="height:30px;">
            文件夹名称
        </th>
    </tr>
    <tr>
        <td>
            <asp:LinkButton ID="LinkButton1" runat="server" BorderWidth="0px" EnableTheming="false">土地权属证明文件</asp:LinkButton>&nbsp;&nbsp;
            <asp:LinkButton ID="LinkButton2" runat="server" BorderWidth="0px" EnableTheming="false">规划许可文件</asp:LinkButton>&nbsp;&nbsp;
            <asp:LinkButton ID="LinkButton3" runat="server" BorderWidth="0px" EnableTheming="false">项目批准文件</asp:LinkButton>
        </td>
    </tr>
</table>
<br />
<table cellpadding="0" cellspacing="0" align="center" class="window_tab_list" style="width: 600px;
    margin: 0px 0 0px 0; line-height: 35px; text-align: center;">
    <tr style="height: 30px;">
        <th>
            文件夹
        </th>
        <th>
            文件名
        </th>
        <th style="width: 15%">
            操作
        </th>
    </tr>
    <asp:Repeater ID="Repeater1" runat="server" Visible="false">
        <ItemTemplate>
            <tr style="height: 30px;">
                <td align="left" style="width: 140px;">
                    <img src="<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/71.gif"
                        height="16px" width="16px" />
                    <asp:LinkButton ID="dkfj" runat="server" Text='<%#Eval("ITEMNAME")%>' BorderWidth="0px"
                        EnableTheming="false" Visible="false"></asp:LinkButton>
                    <%#Eval("ITEMNAME")%>
                    <asp:HiddenField ID="HiddenField2" runat="server" Value='<%#Eval("ITEMNAME") %>' />
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
        </ItemTemplate>
    </asp:Repeater>
    <asp:Repeater ID="fujianlist" runat="server" Visible="false">
        <ItemTemplate>
            <tr style="height: 30px;">
                <td align="center" style="width: 140px; color: #223399;">
                    <img src="<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/71.gif"
                        height="16px" width="16px" /><%#Eval("ITEMNAME")%>
                </td>
                <%--<td style="width:10%;">&nbsp;</td>--%>
                <td>
                    <a href="../ZSManage/showfile.aspx?id=<%#Eval("id")  %>" target="_blank">
                        <%#Eval("NAME")%></a>
                </td>
                <td align="center">
                    <a href='FileUpload.aspx?PID=<%#Eval("itemid") %>&id=<%#Eval("id") %>&action=del'>
                        <asp:Label ID="Label3" runat="server" Text="删 除"></asp:Label></a>
                    <asp:HiddenField ID="HiddenField1" runat="server" Value='<%#Eval("id") %>' />
                </td>
            </tr>
        </ItemTemplate>
    </asp:Repeater>
    <tr style="height: 30px;">
        <td colspan="3" align="center">
            <asp:Button ID="back" runat="server" Text="返回" Visible="false" />
        </td>
    </tr>
</table>
<br />
<table id="table2" cellpadding="0" cellspacing="0" align="center" class="window_tab_list"
    style="width: 600px; margin: 0px 0 2px 0; line-height: 19px; text-align: center;">
    <tr style="height: 30px;">
        <th colspan="2" height="30">
            上传附件
        </th>
    </tr>
    <tr style="height: 30px;">
        <td width="100px" style="text-align: right">
            文件夹名：
        </td>
        <td style="text-align: left;">
            <asp:DropDownList ID="DropDownList1" runat="server">
                <asp:ListItem Text="项目批准文件" Value="项目批准文件"></asp:ListItem>
                <asp:ListItem Text="规划许可文件" Value="规划许可文件"></asp:ListItem>
                <asp:ListItem Text="土地权属证明文件" Value="土地权属证明文件"></asp:ListItem>
                <asp:ListItem Text="其它" Value="其它"></asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr style="height: 30px;">
        <td width="100px" style="text-align: right">
            文件名：
        </td>
        <td style="text-align: left;">
            <asp:TextBox ID="filename" runat="server" />(如不填则选择上传的文件名为默认文件名)
        </td>
    </tr>
    <tr style="height: 30px;">
        <td style="text-align: right">
            上传文件：
        </td>
        <td style="text-align: left;">
            <asp:FileUpload ID="picFile" runat="server" BorderStyle="Solid" BorderWidth="1px"
                BorderColor="#CEE3F7" BackColor="#FFFFFF" />(支持jpg,gif,jpeg,bmp,doc,docx,xls格式)
        </td>
    </tr>
    <tr style="height: 30px;">
        <td style="text-align: center; height: 30px" colspan="2">
            <asp:Label ID="Label1" runat="server" Text="请确认项目批准文件、规划许可文件、土地权属证明文件三个目录下均" ForeColor="Red"
                Font-Size="12px"></asp:Label>
            <br />
            <asp:Label ID="Label2" runat="server" Text="有不少于一个附件材料，否则该项目信息将被删除！" ForeColor="Red"
                Font-Size="12px"></asp:Label>
        </td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0" align="center" class="window_tab_list" style="width: 600px;
    margin: 0px 0 0px 0; line-height: 35px; text-align: center;">
    <tr>
        <td style="text-align: center; height: 30px" colspan="2">
            <asp:Button ID="upfile" runat="server" Text="上 传" />&nbsp;
            <asp:Button ID="Button1" runat="server" Text="返 回" />&nbsp; <span style="color: Red;
                font-size: 12px;">（提示：附件大小必须小于5M！）</span>
        </td>
    </tr>
</table>

<script type="text/javascript">
    function displaytable() {
        document.getElementById("table2").style.display = 'none';        
    }
</script>

